package androidx.fragment.app;

import androidx.lifecycle.e;
import androidx.lifecycle.h;
import androidx.lifecycle.i;

class y implements h {

    /* renamed from: b  reason: collision with root package name */
    private i f710b = null;

    y() {
    }

    /* access modifiers changed from: package-private */
    public void a(e.a aVar) {
        this.f710b.i(aVar);
    }

    /* access modifiers changed from: package-private */
    public void c() {
        if (this.f710b == null) {
            this.f710b = new i(this);
        }
    }

    /* access modifiers changed from: package-private */
    public boolean d() {
        return this.f710b != null;
    }

    public e getLifecycle() {
        c();
        return this.f710b;
    }
}
